<%@ include file="/WEB-INF/jspf/directive/taglib.jspf"%>

<html>

<c:set var="title">
	<fmt:message key="refill.title.text" />
</c:set>
<%@ include file="/WEB-INF/jspf/head.jspf"%>

<body>

	<div class="container small-form">
		<form class="settings_form" action="controller" method="post">
			<input type="hidden" name="command" value="refillAccount" /> <input
				type="hidden" name="id" value=<c:out value="${account.id}"></c:out>>
			<h3><fmt:message key="refill.label.title" /></h3>
			<p class="lead">
				<fmt:message key="refill.label.account" />:
				<c:out value="${account.id}"></c:out>
			</p>
			<p class="lead">
				<fmt:message key="refill.label.currentbalance" />:
				<c:out value="${account.balance}"></c:out>
			</p>
			<h4><fmt:message key="refill.label.value" /></h4>
			<input name="value" class="txt-fld input-block-level" type="number"
				placeholder="Value" value="100">
			<button class="btn btn-large btn-block" type="submit">
				<fmt:message key="refill.button.refill" />
			</button>
		</form>

		<a href="controller?command=viewAccount"
			class="btn btn-large btn-block">
			<fmt:message key="refill.button.back" />
		</a>
	</div>

</body>
</html>